#-*- coding:utf-8 -*-
class MyException(Exception):
    def __init__(self, value):
        self.value = value 

    def __str__(self):
        return repr('My Exception : ' + self.value)


def test_MyException():
    try:
       raise MyException('test exception')
    except MyException as e:
       print e 
